const userService = require('../../service/userService')

var express = require('express');
var router = new express.Router();


router.get('/list',function(req,res){

    userService.list(function(results){

        res.json(results)
    })
})

module.exports = router;